Optimal. Leaf size=1668 \[ \text{result too large to display} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 4.00758, antiderivative size = 1668, normalized size of antiderivative = 1., number of steps used = 37, number of rules used = 16, integrand size = 55, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.291, Rules used = {1790, 1789, 1422, 200, 31, 634, 617, 204, 628, 1758, 1510, 292, 1745, 1657, 618, 206} \[ \text{result too large to display} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1790
Rule 1789
Rule 1422
Rule 200
Rule 31
Rule 634
Rule 617
Rule 204
Rule 628
Rule 1758
Rule 1510
Rule 292
Rule 1745
Rule 1657
Rule 618
Rule 206
Rubi steps
\begin{align*} \int \frac{d+e x+f x^2+g x^3+h x^4+j x^5+k x^6+l x^7+m x^8}{a+b x^3+c x^6} \, dx &=\int \left (\frac{d+g x^3+k x^6}{a+b x^3+c x^6}+\frac{x \left (e+h x^3+l x^6\right )}{a+b x^3+c x^6}+\frac{x^2 \left (f+j x^3+m x^6\right )}{a+b x^3+c x^6}\right ) \, dx\\ &=\int \frac{d+g x^3+k x^6}{a+b x^3+c x^6} \, dx+\int \frac{x \left (e+h x^3+l x^6\right )}{a+b x^3+c x^6} \, dx+\int \frac{x^2 \left (f+j x^3+m x^6\right )}{a+b x^3+c x^6} \, dx\\ &=\frac{k x}{c}+\frac{l x^2}{2 c}+\frac{1}{3} \operatorname{Subst}\left (\int \frac{f+j x+m x^2}{a+b x+c x^2} \, dx,x,x^3\right )+\int \frac{d-\frac{a k}{c}+\left (g-\frac{b k}{c}\right ) x^3}{a+b x^3+c x^6} \, dx+\int \frac{x \left (e-\frac{a l}{c}+\left (h-\frac{b l}{c}\right ) x^3\right )}{a+b x^3+c x^6} \, dx\\ &=\frac{k x}{c}+\frac{l x^2}{2 c}+\frac{1}{3} \operatorname{Subst}\left (\int \left (\frac{m}{c}+\frac{c f-a m+(c j-b m) x}{c \left (a+b x+c x^2\right )}\right ) \, dx,x,x^3\right )+\frac{1}{2} \left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{b}{2}+\frac{1}{2} \sqrt{b^2-4 a c}+c x^3} \, dx+\frac{1}{2} \left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{b}{2}-\frac{1}{2} \sqrt{b^2-4 a c}+c x^3} \, dx+\frac{1}{2} \left (h-\frac{b l}{c}-\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \int \frac{x}{\frac{b}{2}+\frac{1}{2} \sqrt{b^2-4 a c}+c x^3} \, dx+\frac{1}{2} \left (h-\frac{b l}{c}+\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \int \frac{x}{\frac{b}{2}-\frac{1}{2} \sqrt{b^2-4 a c}+c x^3} \, dx\\ &=\frac{k x}{c}+\frac{l x^2}{2 c}+\frac{m x^3}{3 c}+\frac{\operatorname{Subst}\left (\int \frac{c f-a m+(c j-b m) x}{a+b x+c x^2} \, dx,x,x^3\right )}{3 c}+\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{\sqrt [3]{b+\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x} \, dx}{3 \sqrt [3]{2} \left (b+\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \int \frac{2^{2/3} \sqrt [3]{b+\sqrt{b^2-4 a c}}-\sqrt [3]{c} x}{\frac{\left (b+\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{3 \sqrt [3]{2} \left (b+\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{\sqrt [3]{b-\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x} \, dx}{3 \sqrt [3]{2} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \int \frac{2^{2/3} \sqrt [3]{b-\sqrt{b^2-4 a c}}-\sqrt [3]{c} x}{\frac{\left (b-\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{3 \sqrt [3]{2} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (h-\frac{b l}{c}-\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \int \frac{\frac{\sqrt [3]{b+\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x}{\frac{\left (b+\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{3\ 2^{2/3} \sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}}}+\frac{\left (-h+\frac{b l}{c}+\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{\sqrt [3]{b+\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x} \, dx}{3\ 2^{2/3} \sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}}}+\frac{\left (-h+\frac{b l}{c}-\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{\sqrt [3]{b-\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x} \, dx}{3\ 2^{2/3} \sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\left (h-\frac{b l}{c}+\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \int \frac{\frac{\sqrt [3]{b-\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x}{\frac{\left (b-\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{3\ 2^{2/3} \sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}}}\\ &=\frac{k x}{c}+\frac{l x^2}{2 c}+\frac{m x^3}{3 c}+\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} \sqrt [3]{c} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}-\frac{\left (h-\frac{b l}{c}+\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} c^{2/3} \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} \sqrt [3]{c} \left (b+\sqrt{b^2-4 a c}\right )^{2/3}}-\frac{\left (h-\frac{b l}{c}-\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} c^{2/3} \sqrt [3]{b+\sqrt{b^2-4 a c}}}-\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \int \frac{-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+2 c^{2/3} x}{\frac{\left (b+\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{6 \sqrt [3]{2} \sqrt [3]{c} \left (b+\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{\left (b+\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{2\ 2^{2/3} \sqrt [3]{b+\sqrt{b^2-4 a c}}}-\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \int \frac{-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+2 c^{2/3} x}{\frac{\left (b-\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{6 \sqrt [3]{2} \sqrt [3]{c} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{\left (b-\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{2\ 2^{2/3} \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\left (h-\frac{b l}{c}-\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{\left (b+\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{4 \sqrt [3]{c}}+\frac{\left (h-\frac{b l}{c}-\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \int \frac{-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+2 c^{2/3} x}{\frac{\left (b+\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{6\ 2^{2/3} c^{2/3} \sqrt [3]{b+\sqrt{b^2-4 a c}}}+\frac{\left (h-\frac{b l}{c}+\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{\left (b-\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{4 \sqrt [3]{c}}+\frac{\left (h-\frac{b l}{c}+\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \int \frac{-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+2 c^{2/3} x}{\frac{\left (b-\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{6\ 2^{2/3} c^{2/3} \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{(c j-b m) \operatorname{Subst}\left (\int \frac{b+2 c x}{a+b x+c x^2} \, dx,x,x^3\right )}{6 c^2}+\frac{\left (2 c^2 f-b c j+b^2 m-2 a c m\right ) \operatorname{Subst}\left (\int \frac{1}{a+b x+c x^2} \, dx,x,x^3\right )}{6 c^2}\\ &=\frac{k x}{c}+\frac{l x^2}{2 c}+\frac{m x^3}{3 c}+\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} \sqrt [3]{c} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}-\frac{\left (h-\frac{b l}{c}+\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} c^{2/3} \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} \sqrt [3]{c} \left (b+\sqrt{b^2-4 a c}\right )^{2/3}}-\frac{\left (h-\frac{b l}{c}-\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} c^{2/3} \sqrt [3]{b+\sqrt{b^2-4 a c}}}-\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \log \left (\left (b-\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} \sqrt [3]{c} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (h-\frac{b l}{c}+\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \log \left (\left (b-\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} c^{2/3} \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \log \left (\left (b+\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} \sqrt [3]{c} \left (b+\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (h-\frac{b l}{c}-\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \log \left (\left (b+\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} c^{2/3} \sqrt [3]{b+\sqrt{b^2-4 a c}}}+\frac{(c j-b m) \log \left (a+b x^3+c x^6\right )}{6 c^2}+\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b+\sqrt{b^2-4 a c}}}\right )}{\sqrt [3]{2} \sqrt [3]{c} \left (b+\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt [3]{2} \sqrt [3]{c} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (h-\frac{b l}{c}-\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b+\sqrt{b^2-4 a c}}}\right )}{2^{2/3} c^{2/3} \sqrt [3]{b+\sqrt{b^2-4 a c}}}+\frac{\left (h-\frac{b l}{c}+\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}\right )}{2^{2/3} c^{2/3} \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\left (2 c^2 f-b c j+b^2 m-2 a c m\right ) \operatorname{Subst}\left (\int \frac{1}{b^2-4 a c-x^2} \, dx,x,b+2 c x^3\right )}{3 c^2}\\ &=\frac{k x}{c}+\frac{l x^2}{2 c}+\frac{m x^3}{3 c}-\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{\sqrt [3]{2} \sqrt{3} \sqrt [3]{c} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}-\frac{\left (h-\frac{b l}{c}+\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3} c^{2/3} \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b+\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{\sqrt [3]{2} \sqrt{3} \sqrt [3]{c} \left (b+\sqrt{b^2-4 a c}\right )^{2/3}}-\frac{\left (h-\frac{b l}{c}-\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b+\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3} c^{2/3} \sqrt [3]{b+\sqrt{b^2-4 a c}}}-\frac{\left (2 c^2 f-b c j+b^2 m-2 a c m\right ) \tanh ^{-1}\left (\frac{b+2 c x^3}{\sqrt{b^2-4 a c}}\right )}{3 c^2 \sqrt{b^2-4 a c}}+\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} \sqrt [3]{c} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}-\frac{\left (h-\frac{b l}{c}+\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} c^{2/3} \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} \sqrt [3]{c} \left (b+\sqrt{b^2-4 a c}\right )^{2/3}}-\frac{\left (h-\frac{b l}{c}-\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} c^{2/3} \sqrt [3]{b+\sqrt{b^2-4 a c}}}-\frac{\left (g-\frac{b k}{c}+\frac{2 c^2 d+b^2 k-c (b g+2 a k)}{c \sqrt{b^2-4 a c}}\right ) \log \left (\left (b-\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} \sqrt [3]{c} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (h-\frac{b l}{c}+\frac{2 c^2 e+b^2 l-c (b h+2 a l)}{c \sqrt{b^2-4 a c}}\right ) \log \left (\left (b-\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} c^{2/3} \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\left (g-\frac{b k}{c}-\frac{2 c^2 d-b c g+b^2 k-2 a c k}{c \sqrt{b^2-4 a c}}\right ) \log \left (\left (b+\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} \sqrt [3]{c} \left (b+\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (h-\frac{b l}{c}-\frac{2 c^2 e-b c h+b^2 l-2 a c l}{c \sqrt{b^2-4 a c}}\right ) \log \left (\left (b+\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} c^{2/3} \sqrt [3]{b+\sqrt{b^2-4 a c}}}+\frac{(c j-b m) \log \left (a+b x^3+c x^6\right )}{6 c^2}\\ \end{align*}
Mathematica [C] time = 2.01828, size = 223, normalized size = 0.13 \[ \frac{-2 \text{RootSum}\left [\text{$\#$1}^3 b+\text{$\#$1}^6 c+a\& ,\frac{\text{$\#$1}^2 a m \log (x-\text{$\#$1})+\text{$\#$1}^3 b k \log (x-\text{$\#$1})+\text{$\#$1}^4 b l \log (x-\text{$\#$1})+\text{$\#$1}^5 b m \log (x-\text{$\#$1})-\text{$\#$1}^2 c f \log (x-\text{$\#$1})-\text{$\#$1}^3 c g \log (x-\text{$\#$1})-\text{$\#$1}^4 c h \log (x-\text{$\#$1})+\text{$\#$1}^5 (-c) j \log (x-\text{$\#$1})+a k \log (x-\text{$\#$1})+\text{$\#$1} a l \log (x-\text{$\#$1})-c d \log (x-\text{$\#$1})-\text{$\#$1} c e \log (x-\text{$\#$1})}{\text{$\#$1}^2 b+2 \text{$\#$1}^5 c}\& \right ]+6 k x+3 l x^2+2 m x^3}{6 c} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.022, size = 134, normalized size = 0.1 \begin{align*}{\frac{m{x}^{3}}{3\,c}}+{\frac{l{x}^{2}}{2\,c}}+{\frac{kx}{c}}+{\frac{1}{3\,c}\sum _{{\it \_R}={\it RootOf} \left ({{\it \_Z}}^{6}c+{{\it \_Z}}^{3}b+a \right ) }{\frac{ \left ( \left ( -bm+cj \right ){{\it \_R}}^{5}+ \left ( -bl+ch \right ){{\it \_R}}^{4}+ \left ( -bk+cg \right ){{\it \_R}}^{3}+ \left ( -am+cf \right ){{\it \_R}}^{2}+ \left ( -al+ce \right ){\it \_R}-ak+cd \right ) \ln \left ( x-{\it \_R} \right ) }{2\,{{\it \_R}}^{5}c+{{\it \_R}}^{2}b}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{2 \, m x^{3} + 3 \, l x^{2} + 6 \, k x}{6 \, c} - \frac{-\int \frac{{\left (c j - b m\right )} x^{5} +{\left (c h - b l\right )} x^{4} +{\left (c g - b k\right )} x^{3} +{\left (c f - a m\right )} x^{2} + c d - a k +{\left (c e - a l\right )} x}{c x^{6} + b x^{3} + a}\,{d x}}{c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]